<!-- 视频背景部分 -->
<style>
  /* 视频背景部分 */
  .video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    max-height: 100vh;
    overflow: hidden;
    background: #000;
  }

  .video-container video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1;
  }

  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7)); */
    z-index: 2;
  }

  .video-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
  }

  .video-content h1 {
    font-family: "Microsoft YaHei Bold";
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  }

  .video-content p {
    font-family: "Microsoft YaHei";
    font-size: 1.4rem;
    line-height: 1.5;
    margin-bottom: 40px;
    color: #AAA;
    opacity: 0.9;
  }

  .video-scroll-indicator-container {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0px;
    /* margin-left: 160px;
    margin-right: 160px;     */
    padding: 0 10rem;
    max-width: 100rem;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
  }

  .video-carousel-controls {
    position: static;
    display: flex;
    align-items: center;
    gap: 35px;
    margin-bottom: 18px;
    pointer-events: auto;
  }

  .video-carousel-prev,
  .video-carousel-next {
    font-family: "Microsoft YaHei";
    font-weight: 400;
    font-size: 1rem;
    line-height: 1rem;
    text-align: left;
    color: #fff;
    background: transparent;
    outline: none;
    pointer-events: auto;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(14, 120, 255, 0.10);
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
  }

  .video-carousel-prev:hover,
  .video-carousel-next:hover {
    box-shadow: 0 8px 32px rgba(14, 120, 255, 0.18);
    transform: translateY(-2px) scale(1.08);
  }

  .video-carousel-prev img,
  .video-carousel-next img {
    padding: 0 12px;
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  .video-scroll-indicator {
    position: static;
    margin-bottom: 18px;
    animation: bounce 2s infinite;
    z-index: 2;
    margin: 0 auto;
  }

  .video-scroll-indicator img {
    width: 24px;
    height: 36px;
    opacity: 0.85;
  }

  .video-carousel-pagination-container {
    width: 150px;
    height: 168px;
    background: #222132;
    padding-left: 23px;
    padding-right: 23px;
    padding-top: 35px;
    box-sizing: border-box;
  }

  .video-carousel-pagination {
    font-family: "Microsoft YaHei Bold";
    font-weight: 700;
    font-size: 48px;
    line-height: 64px;
    color: #0e78ff;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }

  .video-carousel-pagination span {
    font-weight: 400;
    font-size: 16px;
    color: #fff;
  }

  /* 响应式样式 */
  @media screen and (max-width: 1440px) {
    .video-container {
      min-height: 500px;
    }

    .video-content h1 {
      font-size: 48px;
    }

    .video-content p {
      font-size: 20px;
    }

    .video-scroll-indicator-container {
      padding: 0 5rem
    }
  }

  @media screen and (max-width: 1200px) {
    .video-scroll-indicator-container {
      padding: 0 3rem
    }
  }

  @media screen and (max-width: 1024px) {
    .video-container {
      min-height: 450px;
    }

    .video-scroll-indicator-container {
      padding: 0 3rem
    }

    .video-content h1 {
      font-size: 40px;
    }

    .video-content p {
      font-size: 18px;
      margin-bottom: 30px;
    }

    .video-carousel-pagination-container {
      width: 120px;
      height: 140px;
      padding: 25px 15px;
    }

    .video-carousel-pagination {
      font-size: 36px;
      line-height: 48px;
    }
  }

  @media screen and (max-width: 768px) {
    .video-container {
      min-height: 400px;
    }

    .video-content h1 {
      font-size: 32px;
    }

    .video-content p {
      font-size: 16px;
      margin-bottom: 20px;
    }

    .video-scroll-indicator-container {
      margin-left: 40px;
      margin-right: 40px;
      flex-direction: column;
      align-items: center;
      gap: 20px;
    }

    .video-carousel-controls {
      gap: 20px;
    }

    .video-carousel-prev,
    .video-carousel-next {
      font-size: 14px;
    }

    .video-carousel-prev img,
    .video-carousel-next img {
      width: 24px;
      height: 24px;
      padding: 0 8px;
    }

    .video-scroll-indicator img {
      width: 28px;
      height: 42px;
    }

    .video-carousel-pagination-container {

      display: none;
    }

    .video-carousel-pagination {
      font-size: 32px;
      line-height: 40px;
    }
  }

  @media screen and (max-width: 480px) {
    .video-container {
      min-height: 350px;
    }

    .video-content h1 {
      font-size: 28px;
    }

    .video-content p {
      font-size: 14px;
    }

    .video-scroll-indicator-container {
      margin-left: 20px;
      margin-right: 20px;
    }

    .video-carousel-controls {
      gap: 15px;
    }

    .video-carousel-prev,
    .video-carousel-next {
      font-size: 12px;
    }

    .video-carousel-prev img,
    .video-carousel-next img {
      width: 20px;
      height: 20px;
      padding: 0 6px;
    }

    .video-scroll-indicator img {
      width: 24px;
      height: 36px;
    }



    .video-carousel-pagination {
      font-size: 24px;
      line-height: 32px;
    }
  }

  /* 添加弹跳动画 */
  @keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateY(0);
    }

    40% {
      transform: translateY(-10px);
    }

    60% {
      transform: translateY(-5px);
    }
  }
</style>

<div class="video-container" data-videos='["images/mp4/zc_bg.mp4", "images/mp4/hero-bg.jpg"]'>
  <video autoplay muted loop playsinline>
    <source src="images/mp4/zc_bg.mp4" type="video/mp4">
  </video>
  <div class="video-overlay"></div>
  <div class="video-content">
    <h1>甄成集团</h1>
    <p>创新科技 · 引领未来</p>
  </div>
  <div class="video-scroll-indicator-container">
    <div class="video-carousel-controls" style="display: none;">
      <button class="video-carousel-prev">
        <img src="images/icons/prev.png" alt="Prev" onerror="this.onerror=null;this.src='images/placeholder.png';">
        <span>PREV</span>
      </button>
      <button class="video-carousel-next">
        <span>NEXT</span>
        <img src="images/icons/next.png" alt="Next" onerror="this.onerror=null;this.src='images/placeholder.png';">
      </button>
    </div>
    <div class="video-scroll-indicator">
      <img src="images/icons/mouse.png" alt="scroll" onerror="this.onerror=null;this.src='images/placeholder.png';">
    </div>
    <div class="video-carousel-pagination-container" style="display: none;">
      <span class="video-carousel-pagination">01/<span>03</span></span>
    </div>
  </div>
</div>